package com.dimong.www.loan.db;

import com.dimong.loan.sdk.db.modal.BaseModel;
import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by wuligang on 2018/5/29.
 */
@DatabaseTable(tableName = "check")
public class CheckModel extends BaseModel {
    @DatabaseField(columnName = "year", dataType = DataType.INTEGER)
    public int year;

    @DatabaseField(columnName = "month", dataType = DataType.INTEGER)
    public int month;

    @DatabaseField(columnName = "day", dataType = DataType.INTEGER)
    public int day;
    @DatabaseField(columnName = "hour", dataType = DataType.INTEGER)
    public int hour;

    @DatabaseField(columnName = "minute", dataType = DataType.INTEGER)
    public int minute;

    @DatabaseField(columnName = "time", dataType = DataType.LONG)
    public long time;

    @DatabaseField(columnName = "money", dataType = DataType.FLOAT)
    public float money;

    @DatabaseField(columnName = "type", dataType = DataType.LONG)
    public long type;

    @DatabaseField(columnName = "address", dataType = DataType.STRING)
    public String address;

    @DatabaseField(columnName = "create_time", dataType = DataType.LONG)
    public long createTime;

    public CheckModel() {

    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getHour() {
        return hour;
    }

    public void setHour(int hour) {
        this.hour = hour;
    }

    public int getMinute() {
        return minute;
    }

    public void setMinute(int minute) {
        this.minute = minute;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
